package com.company.modules.project.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.company.modules.project.entity.Employee;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Xmirror
* @description 针对表【employee(员工)】的数据库操作Mapper
* @createDate 2022-02-26 13:18:31
* @Entity com.company.modules.project.entity.Employee
*/
@Mapper
public interface EmployeeMapper extends BaseMapper<Employee> {

    List<com.company.modules.project.entity.Employee> selectAllEmployee();

    com.company.modules.project.entity.Employee selectEmployeeById(Integer id);

    com.company.modules.project.entity.Employee selectEmployeeByMail(String mail);

    com.company.modules.project.entity.Employee selectEmployeeByPhone(String phone);

    List<com.company.modules.project.entity.Employee> selectEmployeeByName(String name);

}
